+2005-01-19 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/gdk.symbols:
+ * gdk/x11/gdkx.h:
+ * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time):
+ Add a function to obtain the last user interaction
+ time. (#163119, Elijah Newren)
+
Tue Jan 18 13:56:09 2005 Manish Singh <yosh@gimp.org>
* gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
+2005-01-19 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/gdk.symbols:
+ * gdk/x11/gdkx.h:
+ * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time):
+ Add a function to obtain the last user interaction
+ time. (#163119, Elijah Newren)
+
Tue Jan 18 13:56:09 2005 Manish Singh <yosh@gimp.org>
* gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
+2005-01-19 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/gdk.symbols:
+ * gdk/x11/gdkx.h:
+ * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time):
+ Add a function to obtain the last user interaction
+ time. (#163119, Elijah Newren)
+
Tue Jan 18 13:56:09 2005 Manish Singh <yosh@gimp.org>
* gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
+2005-01-19 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/gdk-sections.txt: Add gdk_x11_display_get_user_time.
+
2005-01-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-docs.sgml: Add an index for 2.8 symbols.
gdk_x11_screen_get_window_manager_name
gdk_x11_screen_lookup_visual
gdk_x11_window_set_user_time
+gdk_x11_display_get_user_time
gdk_x11_colormap_foreign_new
gdk_x11_colormap_get_xcolormap
gdk_x11_colormap_get_xdisplay
gdk_x11_colormap_get_xdisplay
gdk_x11_cursor_get_xcursor
gdk_x11_cursor_get_xdisplay
+gdk_x11_display_get_user_time
gdk_x11_display_get_xdisplay
gdk_x11_display_grab
gdk_x11_display_ungrab
gdk_error_trap_pop ();
}
+
+/**
+ * gdk_x11_display_get_user_time:
+ * @display: a #GdkDisplay
+ *
+ * Returns the timestamp of the last user interaction on
+ * @display. The timestamp is taken from events caused
+ * by user interaction such as key presses or pointer
+ * movements. See gdk_x11_window_set_user_time().
+ *
+ * Returns: the timestamp of the last user interaction
+ *
+ * Since: 2.8
+ */
+guint32
+gdk_x11_display_get_user_time (GdkDisplay *display)
+{
+ return GDK_DISPLAY_X11 (display)->user_time;
+}
gpointer gdk_xid_table_lookup_for_display (GdkDisplay *display,
XID xid);
guint32 gdk_x11_get_server_time (GdkWindow *window);
+guint32 gdk_x11_display_get_user_time (GdkDisplay *display);
/* returns TRUE if we support the given WM spec feature */
gboolean gdk_x11_screen_supports_net_wm_hint (GdkScreen *screen,